package com.yswy.theater.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.theater.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("短剧")
@TableName(value = "theater_play")
public class TheaterPlay extends BasePojo<TheaterPlay> {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("名字")
    private String playName;
    @ApiModelProperty("简介")
    private String playMsg;
    @ApiModelProperty("图片")
    private String playTitleUrl;
    @ApiModelProperty("类型 0 视频   1 图集  ")
    private Integer playType;
    @ApiModelProperty("显示状态 1 显示  0 不显示")
    private Integer isShow;
    @ApiModelProperty("是否有蒙层 1 有  0 没有")
    private Integer isSmegma;
    @ApiModelProperty("集数")
    private Integer episodes;
    @ApiModelProperty("点赞数量")
    private Integer likeNum;
    @ApiModelProperty("收藏数量")
    private Integer collectNum;
    @ApiModelProperty("性别 0(无性别)  1（男） 2（女） ")
    private Integer sex;

    @ApiModelProperty("资源类型 0 短剧   1 图片   2 小视频  3 穿山甲短剧")
    private Integer zyType;
    @ApiModelProperty("穿山甲Id")
    private String csjPlayId;

    @ApiModelProperty("是否可以视频解锁 0 不可以 1 可以")
    private boolean isAdUnlock;
    @ApiModelProperty("解锁金币")
    private Integer unlockSpecies;
    @ApiModelProperty("默认解锁集数")
    private Integer defUnlockNum;
    @ApiModelProperty("解锁方式 0 顺序解锁  1 无序解锁")
    private Integer unlockType;
}
